<?php
	require_once("../classes/GameSession.class.php");
	require_once("../classes/Member.class.php");
	session_start();
	$_SESSION['gameSession']->finish(($_SESSION['member']->savingResults == 1));
	if($_SESSION['member']->savingResults == 1) $_SESSION['member']->addGameSession($_SESSION['gameSession']);
?>